package com.zf.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


public class person {
    private int personId;
    private String personName;
    private String flightNumber;
    private int seatId;
    private String seatLocation;

    public person() {
    }

    public person(String personName, String flightNumber, int seatId, String seatLocation) {
        this.personName = personName;
        this.flightNumber = flightNumber;
        this.seatId = seatId;
        this.seatLocation = seatLocation;
    }

    @Override
    public String toString() {
        return "person{" +
                "personId=" + personId +
                ", personName='" + personName + '\'' +
                ", flightNumber='" + flightNumber + '\'' +
                ", seatId=" + seatId +
                ", seatLocation='" + seatLocation + '\'' +
                '}';
    }

    public int getPersonId() {
        return personId;
    }

    public void setPersonId(int personId) {
        this.personId = personId;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public String getFlightNumber() {
        return flightNumber;
    }

    public void setFlightNumber(String flightNumber) {
        this.flightNumber = flightNumber;
    }

    public int getSeatId() {
        return seatId;
    }

    public void setSeatId(int seatId) {
        this.seatId = seatId;
    }

    public String getSeatLocation() {
        return seatLocation;
    }

    public void setSeatLocation(String seatLocation) {
        this.seatLocation = seatLocation;
    }
}
